package org.hackystat.projectbrowser.page.setaction;

import org.apache.wicket.PageParameters;
import org.hackystat.projectbrowser.page.ProjectBrowserBasePage;

/**
 * The webpage that creates a new positive action name.
 * 
 * @author racesauc(ed)
 * 
 */
public class NewPositiveActionName extends ProjectBrowserBasePage {

  /** Support serialization. */
  private static final long serialVersionUID = 1L;

  /**
   * Create the HomePage.
   * 
   * @param param The params passed to the Form as strings.
   */
  public NewPositiveActionName(PageParameters param) {
    String projectName = param.getStringValue("projectName").toString();
    String TAPName = param.getStringValue("tapName").toString();
    add(new NewPositiveActionNameForm("newPositiveActionNameForm", projectName, TAPName));
  }
}
